package cc.eddic.pratice.programmingparadigms;

import lombok.ToString;

/**
 * 员工信息
 */
@ToString
public class Employee {
    public Employee(String name, String gender, String department, String jobTitle) {
        this.name = name;
        this.gender = gender;
        this.department = department;
        this.jobTitle = jobTitle;
    }


    public String getName() {
        return name;
    }

    public String getGender() {
        return gender;
    }

    public String getDepartment() {
        return department;
    }

    public String getJobTitle() {
        return jobTitle;
    }

    private final String name;
    private final String gender;
    private final String department;
    private final String jobTitle;
}
